package com.wxtwxt.ruralmall.product.feign;

import com.wxtwxt.ruralmall.common.to.StockTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author Wxt
 * @create 2023-03-08 15:30
 */
@FeignClient("ruralmall-ware")
public interface WareFeignService {


    @PostMapping("/ware/waresku/stockIsExist")
    List<StockTo> stockIsExist(@RequestBody List<Long> skuIds);
}
